<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .nav-bg{
            background-color: rgba(51,51,51,0.98);
            height: 70px;
        }
        .nav{
            display: inline-flex;
            background-color: #0dcaf0;
            height: 70px;

        }
        .nav-right{
            float: right;
        }
        .nav li{
            line-height: 70px;
            list-style-type: none;
            padding: 0px 20px;
            background-color: #000000;
            color: #ffffff;
            transition: background-color 0.3s ease;
        }
        .nav img{
            padding-top: 8px;
        }
        .nav li:hover{
            background-color: #d84d47;
        }

    </style>
</head>
<body>

<div class="nav-bg">
    <ul class="nav">
        <li>
            <img src="img/logo.png">
        </li>
    </ul>
    <ul class="nav nav-right">
        <li>1</li>
        <li>2</li>
    </ul>
</div>
</body>
</html>